//const ApiRootUrl = 'http://127.0.0.1:8080/wechat';//本地
const ApiRootUrl = 'https://zhaopaper.com/prod-api/wechat'; //本地
module.exports = {
	//登录接口
	login: ApiRootUrl + '/user/xcxLogin',
	//获取xcx用户信息
	xcxInfo: ApiRootUrl + '/user/xcxInfo',
	//获取手机号
	xcxPhone: ApiRootUrl + '/user/xcxPhone',
	//获取用户信息
	getInfo: ApiRootUrl + '/user/getInfo',
	//修改个人信息
	updateProfile: ApiRootUrl + '/user/updateProfile',
	//获取首页头信息
	headerInfo: ApiRootUrl + '/home/headerInfo',
	//获取首页banner
	headerBanner: ApiRootUrl + '/home/bannerInfo',
	// 首页三个数组分页查询
	getThreeData: ApiRootUrl + '/home/getThreeData',
	//发布
	addpubInfo: ApiRootUrl + '/pubInfo/add',
	//废纸 废塑 设备分页查询
	pubInfoPage: ApiRootUrl + '/home/pubInfoPage',
	//废纸 废塑 设备
	pubInfoDetail: ApiRootUrl + '/pubInfo/detail',
	//删除
	deletePubInfo: ApiRootUrl + '/pubInfo/delete',
	//修改
	updatePubInfo: ApiRootUrl + '/pubInfo/update',
	//详情
	pubInfoDetail: ApiRootUrl + '/pubInfo/detail',
	//收藏/取消收藏 0取消 1 收藏
	favoriteAndCollect: ApiRootUrl + '/favoriteAndCollect/operate',
	//供求留言
	gongqiuliuyan: ApiRootUrl + '/pubComment/add',
	//举报
	gongqiujubao: ApiRootUrl + '/report/add',
	//浏览量
	viewCountAdd: ApiRootUrl + '/favoriteAndCollect/viewCountAdd',
	//我的收藏
	myCollectPubInfoPage: ApiRootUrl + '/user/myCollectPubInfoPage',
	//我的关注
	myCollectPubUser: ApiRootUrl + '/user/myCollectPubUser',
	//我的会员卡卷
	myTicketInfo: ApiRootUrl + '/userMember/myTicketInfo',
	//可以购买会员的类型
	payTypeList: ApiRootUrl + '/order/payTypeList',
	//附近商家
	getPubUserNearBy: ApiRootUrl + '/user/getPubUserNearBy',
	//商家信息
	shangjiaxinxi: ApiRootUrl + '/pubInfoUser/detail',
	//行业咨询
	getIndustryList: ApiRootUrl + '/industryInfo/list',
	//获取消息
	getNewsList: ApiRootUrl + '/notice/page',
	//获取学堂信息
	getCourseInfo: ApiRootUrl + '/courseInfo/info',
	//获取品类信息
	getCategoryList: ApiRootUrl + '/common/productTypeList',
	//获取课堂列表信息
	getClassList: ApiRootUrl + '/courseDetail/list',
	//获取课堂详情
	getClassDetail: ApiRootUrl + '/courseDetail/info',
	//查询评论
	getCourseDetailComment: ApiRootUrl + '/courseDetailComment/list',
	//添加评论
	getAddComment: ApiRootUrl + '/courseDetailComment/addComment',
	//获取点赞信息
	getCourseLikeList: ApiRootUrl + '/courseDetail/likeInfo',
	//获取点赞信息
	getCourseLike: ApiRootUrl + '/favoriteAndCollect/operate',
	//芬享会报名
	getRegister: ApiRootUrl + '/courseDetail/shareCourseMemberAdd',
	//芬姐推荐
	getPubInfoRecommendPage: ApiRootUrl + '/pubInfo/pubInfoRecommendPage',
	//======通用=======
	//支付接口
	createOrderAndPay: ApiRootUrl + '/order/createOrderAndPay',
	//获取分类
	productTypeList: ApiRootUrl + '/common/treeProductTypeList',
	//上传文件
	upload: ApiRootUrl + '/common/upload',
	//地址结构
	getAddress: ApiRootUrl + '/common/getAddress',
	// 根据经纬度获取位置
	getAddressByLanLen: ApiRootUrl + '/common/point2Region',
	//获取轮播图
	getBannerList: ApiRootUrl + '/common/bannerList',
	//在用的会员卡
	getCardInUse: ApiRootUrl + '/userMember/cardInUse',
	//积分变动，传point
	getPoint: ApiRootUrl + '/user/addPoint',
	//排前
	getrefreshSort: ApiRootUrl + '/pubInfo/refreshSort',
	//课程分享次数增加
	getShareCountAdd: ApiRootUrl + '/courseDetail/shareCountAdd',
	//获取供求人信息
	getPubUser: ApiRootUrl + '/pubInfo/getPubUser',
	//添加学习记录 传 courseDetailId，startTime,endTime
	getAddStudyInfo: ApiRootUrl + '/courseUserStudy/addStudyInfo',
	//获取距离
	getDistance: ApiRootUrl + '/pubInfoUser/getDistance',
	//获取供求留言
	getPubComment: ApiRootUrl + '/pubComment/list',
	//供求分享
	getPubShareCountAdd: ApiRootUrl + '/pubInfo/shareCountAdd',
	//搜索会员
	getPubUserPage: ApiRootUrl + '/user/getPubUserPage',
	//已读消息
	getReadMsg: ApiRootUrl + '/notice/readMsg',
	//删除消息
	deleteMsg: ApiRootUrl + '/notice/deleteMsg',
	//删除留言
	deleteComment: ApiRootUrl + '/pubComment/delete',
	//我的点赞
	handleLikeList: ApiRootUrl + '/user/likeMePubInfoUserPage',
	//我的粉丝
	handleFansList: ApiRootUrl + '/user/myFansPageInfo',
	//获取供求点赞列表
	handleLikePageList: ApiRootUrl + '/pubInfo/likePage',
	//消除new图标
	handleResetNewFlag: ApiRootUrl + '/user/resetNewFlag',
	//删除学堂plun
	handleDeleteComment: ApiRootUrl + '/courseDetailComment/deleteComment',
	//注销
	handleLogOff: ApiRootUrl + '/user/logOff',
};